package m3d31;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

//字符缓冲输入流
public class kBufferedReader {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new FileReader("day02\\src\\m3d31\\b.txt"));

        //读取一行数据
        String str =br.readLine();
        System.out.println(str);

        while((str = br.readLine())!=null){
            System.out.println(str);
        }

        br.close();
    }
}
